package cn.jjxx.modules.te.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.te.mapper.TeEquipmentTrendMapper;
import cn.jjxx.modules.te.entity.TeEquipmentTrend;
import cn.jjxx.modules.te.service.ITeEquipmentTrendService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 设备动态
 * @Description: 设备动态
 * @author yw
 * @date 2022-01-12 14:00:43
 * @version V1.0   
 *
 */
@Transactional
@Service("teEquipmentTrendService")
public class TeEquipmentTrendServiceImpl  extends CommonServiceImpl<TeEquipmentTrendMapper,TeEquipmentTrend> implements  ITeEquipmentTrendService {

	@Override
	public boolean insertBatch(List<TeEquipmentTrend> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<TeEquipmentTrend> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
